<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:include page="loginstatus.jsp" />
<%@ page import="model.*" %>
<%@ taglib prefix="s" uri="/struts-tags" %>   
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'importTeacher.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="css/common.css">
	

  </head>
  <body>
  <div id="main">
  <fieldset>
  	<legend>
  		学生详细信息
  	</legend>
  	<table>
  		<tr class="trTitle">
  			<td colspan="8"><font color="">学生详细信息</font></td>
  		</tr>
	   		<s:iterator value="students" status="student">
	   			<tr>
					<td class="tdstyle1">学号</td><td><s:property id="student" value="stunumber" /></td>
					<td class="tdstyle1">姓名</td><td><s:property id="student" value="stuname" /></td>
				</tr>
				<tr>
					<td class="tdstyle1">学院</td>	
					<td>
						<s:iterator value="specials[#student.index]" status="special">
							<s:property id="special" value="specialname" />
						</s:iterator>
					</td>
					<td class="tdstyle1">专业</td>
					<td>
						<s:iterator value="departments[#student.index]" status="department">
							<s:property id="department" value="departmentname" />
						</s:iterator>
					</td>
				</tr>
				<tr>
					<td class="tdstyle1">性别</td><td><s:property id="student" value="stusex" /></td>
					<td class="tdstyle1">邮箱</td><td><s:property id="student" value="stuemail" /></td>
				</tr>
				<tr>
					<td class="tdstyle1">联系方式</td><td><s:property id="student" value="stutelephone" /></td>
					<td class="tdstyle1">家庭住址</td><td><s:property id="student" value="stuaddress" /></td>
				</tr>
				<tr>
					<td class="searchTd"><input type="button" value="返回" class="button" onclick="javascript:history.back(-1);"/></td>
				</tr>
		
		</s:iterator> 
		
	</table>
  </fieldset>
  </div>
 
  </body>
</html>